try {
	Type.registerNamespace('SupplierVO');

	//基础档案-供应商VO
	SupplierVO = function() {};
	SupplierVO.prototype = new NCMMPubUtil.SuperVO();
	SupplierVO.PKSUPPLIER = {
		name: "pk_supplier",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SupplierVO.CODE = {
		name: "code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SupplierVO.NAME = {
		name: "name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SupplierVO.SHORTNAME = {
		name: "shortname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	SupplierVO.prototype.getAllAttrs = function() {
		return [SupplierVO.PKSUPPLIER,
			SupplierVO.CODE,
			SupplierVO.NAME,
			SupplierVO.SHORTNAME
		];
	};
	SupplierVO.prototype.getTableName = function() {
		return "app_supplier";
	};
	SupplierVO.prototype.getPrimaryAttr = function() {
		return SupplierVO.PKSUPPLIER;
	};
} catch(e) {
	$e(e);
}